﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 房号管理
    /// </summary>
    public class RoomNumberModel
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 房号名称
        /// </summary>
        public string? NumberName { get; set; }
        /// <summary>
        /// 房型外键
        /// </summary>
        public int RoomTypeId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Order { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Desc { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; } = false;
        /// <summary>
        /// 创建时间
        /// </summary>
        /// 
        public DateTime Createtime { get; set; }= DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Updatetime { get; set; } = DateTime.Now;
    }
}
